import request from "@/utils/request";

export function getUserSetting(params) {
  return request({
    url: '/setting/getSetting',
    method: 'get',
    params,
  })
}

export function saveUserSetting(data) {
  return request({
    url: '/setting/saveSetting',
    method: 'post',
    handleError: true,
    data
  })
}
